﻿// ==========================================================
// File: TeamWorkNet.Base.TodoList.cs
// Created: 14.02.2015
// Created By: Tim cadenbach
// 
// Copyright (C) 2015 Tim Cadenbach
// License: Apache License 2.0
// ==========================================================

using Newtonsoft.Json;

namespace  TeamWorkNet.Model
{
  public class TodoList
  {
    [JsonProperty("project-id")]
    public int ProjectId { get; set; }

    [JsonProperty("todo-items")]
    public TodoItem[] TodoItems { get; set; }

    [JsonProperty("name")]
    public string Name { get; set; }

    [JsonProperty("description")]
    public string Description { get; set; }

    [JsonProperty("milestone-id")]
    public string MilestoneId { get; set; }

    [JsonProperty("uncompleted-count")]
    public string UncompletedCount { get; set; }

    [JsonProperty("complete")]
    public bool Complete { get; set; }

    [JsonProperty("private")]
    public string Private { get; set; }

    [JsonProperty("overdue-count")]
    public string OverdueCount { get; set; }

    [JsonProperty("project-name")]
    public string ProjectName { get; set; }

    [JsonProperty("pinned")]
    public bool Pinned { get; set; }

    [JsonProperty("tracked")]
    public bool Tracked { get; set; }

    [JsonProperty("id")]
    public string Id { get; set; }

    [JsonProperty("position")]
    public string Position { get; set; }

    [JsonProperty("completed-count")]
    public string CompletedCount { get; set; }
  }
}